package com.bluesky.light.order;

import java.util.Date;
import java.util.List;

import com.bluesky.light.user.User;

/**
 * @author Lemon
 *
 */
public class TreatOrder {

	/**
	 * 
	 */
	private int id;
	
	/**
	 * 
	 */
	@SuppressWarnings("unused")
	private User user;
	
	/**
	 * 
	 */
	private String username;
	
	/**
	 * 
	 */
	private String symptom;
	
	/**
	 * 
	 */
	private Date oDate;
	
	/**
	 * 
	 */
	private String status;
	
	/**
	 * 
	 */
	private int staffid;
	
	/**
	 * 
	 */
	private String staffname;
	
	/**
	 * 
	 */
	/**
	 * 
	 */
	private List<TreatItem> items;
	
	/**
	 * 
	 */
	private int userid;

	/**
	 * @return
	 */
	public int getUserid() {
		return userid;
	}

	/**
	 * @param userid
	 */
	public void setUserid(int userid) {
		this.userid = userid;
	}

	/**
	 * @return
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return
	 */
	public String getStaffname() {
		return staffname;
	}

	/**
	 * @param staffname
	 */
	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}

	/**
	 * @return
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return
	 */
	public int getStaffid() {
		return staffid;
	}

	/**
	 * @param staffid
	 */
	public void setStaffid(int staffid) {
		this.staffid = staffid;
	}

	/**
	 * @return
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return
	 */
	public User getUser() {
		return OrderService.getInstance().getUser(userid);
	}

	/**
	 * @param user
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/**
	 * @return
	 */
	public String getSymptom() {
		return symptom;
	}

	/**
	 * @param symptom
	 */
	public void setSymptom(String symptom) {
		this.symptom = symptom;
	}

	public Date getoDate() {
		return oDate;
	}

	public void setoDate(Date oDate) {
		this.oDate = oDate;
	}

	public List<TreatItem> getItems() {
		return items;
	}

	public void setItems(List<TreatItem> items) {
		this.items = items;
	}

}
